/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.seari.service;

import com.seari.mapper.UserRolePrivilegeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author Rainbow
 */
@Service("userRolePrivilegeService")
public class UserRolePrivilegeServiceImpl implements  UserRolePrivilegeService
{
    @Autowired
    private UserRolePrivilegeMapper userRolePrivilegeMapper;
    
    @Override
    public int addUserRolePrivilege(int uurid, int[] uupids)
    {
        return userRolePrivilegeMapper.addUserRolePrivilege(uurid, uupids);
    }

    @Override
    public int deleteUserRolePrivilege(int uurid)
    {
        return userRolePrivilegeMapper.deleteUserRolePrivilege(uurid);
    }

}
